package com.shaozi.nc.server.rpc;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.shaozi.data.rpc.annotations.RpcMethod;
import com.shaozi.nc.bean.resp.ReqListSecretaryBean;
import com.shaozi.nc.bean.resp.ReqMakeSecretaryReadByIdsBean;
import com.shaozi.nc.bean.resp.ReqMessageSetReadForTypeBean;
import com.shaozi.nc.bean.resp.ReqSecretaryTypeBadgeBean;
import com.shaozi.nc.bean.resp.ReqSecretaryUnreadMessageTotalBean;

@Component("briefReportRpcController")
@RpcMethod(prefix = "briefreport")
public class BriefReportRpcController extends SecretaryRpcController {
	@Autowired
	private BriefReportRpcServer briefReportRpcServer;

	public BriefReportRpcController() {

	}

	public Map<String, Object> makeRead(ReqMakeSecretaryReadByIdsBean reqBean) {
		return super.makeSecretaryRead(reqBean);
	}

	public Map<String, Object> getTypeBadge(ReqSecretaryTypeBadgeBean reqBean) {
		return super.getTypeBadge(reqBean);
	}

	public Map<String, Object> unreadMessageTotal(ReqSecretaryUnreadMessageTotalBean reqBean) {
		return super.unreadMessageTotal(reqBean);
	}

	public Map<String, Object> messageSetReadForType(ReqMessageSetReadForTypeBean reqBean) {
		return super.messageSetReadForType(reqBean);
	}

	public Map<String, Object> list(ReqListSecretaryBean reqBean) {
		return super.list(reqBean);
	}

	@Override
	protected BaseSecretaryRpcServer onServer() {
		return briefReportRpcServer;
	}

}
